from selenium.webdriver.common.by import By
# 页面的配置信息
# 登录链接元素
login_link = (By.LINK_TEXT, '登录')
# 用户名文本框
username = (By.CSS_SELECTOR, '#id_username')
# 密码框
password = (By.CSS_SELECTOR, '#id_password')
# 登录按钮
login_btn = (By.CSS_SELECTOR, '[type="submit"]')
# 登录结果
login_result = (By.CSS_SELECTOR, '.errornote')